CC=g++
LD=g++
CFLAGS=`wx-config --cflags` -c -ggdb
LDFLAGS=-L/Library/Frameworks/Python.framework/Versions/4.3.0/lib/python2.5/site-packages/wxPython-2.8.7.1n3-py2.5-macosx-10.3-fat.egg/EGG-INFO/usr/lib  -arch i386 -framework IOKit -framework Carbon -framework Cocoa -framework System -framework QuickTime  -lwx_macu-2.8 -ggdb


all:IPE.o CPU.o Memory.o Assembler.o main.o GeminiGUI.o 
	$(LD) $(LDFLAGS) CPU.o GeminiGUI.o IPE.o Memory.o Assembler.o -o GeminiGUI

main.o:main.cpp
	$(CC) $(CFLAGS) main.cpp -o main.o

CPU.o:CPU.cpp
	$(CC) $(CFLAGS) CPU.cpp -o CPU.o

GeminiGUI.o:GeminiGUI.cpp GeminiGUI.h
	$(CC) $(CFLAGS) GeminiGUI.cpp -o GeminiGUI.o

IPE.o:IPE.cpp IPE.h
	$(CC) $(CFLAGS) IPE.cpp -o IPE.o

Memory.o:Memory.cpp Memory.h
	$(CC) $(CFLAGS) Memory.cpp -o Memory.o

Assembler.o:Assembler.cpp Assembler.h
	$(CC) $(CFLAGS) Assembler.cpp -o Assembler.o

clean:
	rm *.o
